package parser;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

public abstract class Parser {
   
   public HashMap<String, ArrayList<String>> topicToTrainDocument = new HashMap<String, ArrayList<String>>();
   public HashMap<String, ArrayList<String>> topicToTestDocument = new HashMap<String, ArrayList<String>>();
   public File dir;
   
   abstract void parser() throws IOException;
   
   void setDir(String dir) {
      this.dir = new File(dir);
   }
   
}
